<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:d="http://www.frameworkdemoiselle.gov.br/jsf/facelets">

	<table>
		<tr>
			<c:forEach var="element" items="#{mbean.filters}"><!--
				<td><d:field label="#{element.label}" entity="#{mbean.filter}"
					id="filter#{element.id}" fieldName="#{element.id}" validate="false" />
				</td>
				--><td><c:if test="#{!element.showOnly}">
					<ui:include src="/META-INF/taglib/field.xhtml">
						<ui:param name="id" value="filter#{element.id}" />
						<ui:param name="label" value="#{element.label}" />
						<ui:param name="entity" value="#{mbean.pojo}" />
						<ui:param name="fieldName" value="#{element.id}" />
						<ui:param name="type" value="#{element.input}" />
						<ui:param name="showOnly" value="#{mbean.showOnly}" />
						<ui:param name="validate" value="false" />
						<c:if test="#{not empty element.inputTemplate}">
							<ui:param name="template" value="#{element.inputTemplate}" />
						</c:if>
						<c:forEach var="attr" items="#{element.inputAttributes}">
							<ui:param name="#{attr.name}" value="#{attr.value}" />
						</c:forEach>
					</ui:include>
				</c:if></td>
			</c:forEach>
		</tr>
	</table>

</ui:composition>
